The constants refer to fixed values that the program may not alter during its execution. These fixed values are also called literals. Constants can be of any of the basic data types like an integer constant, a floating constant, a character constant, or a string literal. The constants are treated just like regular variables except that their values cannot be modified after their definition.
Liked By
Write Answer
What are Constants in Objective-C?
Join MindStick Community
You have need login or register for voting of answers or question.
Tarun Kumar
11-Dec-2015Constants can be of any of the basic data types like an integer constant, a floating constant, a character constant, or a string literal.
The constants are treated just like regular variables except that their values cannot be modified after their definition.